package com.fortune.dto.in.driverOrder;

import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

import java.math.BigDecimal;

public class OrderDetailsDto {
    @NotBlank(message = "序号不能为空")
    @ApiModelProperty(example = "序号")
    private String no;
    @ApiModelProperty(example = "实际回箱")
    private float backBoxNum;
    @ApiModelProperty(example = "押金金额")
    private BigDecimal dprice;

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public float getBackBoxNum() {
        return backBoxNum;
    }

    public void setBackBoxNum(float backBoxNum) {
        this.backBoxNum = backBoxNum;
    }

    public BigDecimal getDprice() {
        return dprice;
    }

    public void setDprice(BigDecimal dprice) {
        this.dprice = dprice;
    }

    @Override
    public String toString() {
        return "OrderDetailsDto{" +
                "no='" + no + '\'' +
                ", backBoxNum=" + backBoxNum +
                ", dprice=" + dprice +
                '}';
    }
}
